﻿using System.Collections.Generic;
using System.Linq;
using YogaStudio.Data.Domain;

namespace YogaStudio.Service.BLL
{
    public interface IProductService
    {
        IQueryable<Product> GetAllProducts();
        Product GetProductyId(int? productId);
        IQueryable<Product> GetAllAvailableProducts();
        IList<Product> GetTopBestSellingProducts(int count);
        IQueryable<Product> GetAllAvailableProducts(string category, string searchString);
        void AddProduct(Product product);
        void UpdateProduct(Product product);
        void DeleteProduct(Product product);
        void Dispose(bool disposing);
    }
}
